// libxclient.h
#ifndef LIBXCLIENT_H
#define	LIBXCLIENT_H

#ifdef __cplusplus
extern "C" {
#endif
    typedef void (*f_event_c2objc)(char *[], int);
    void my_cb_event_register(void(*my_event_cb)(char *[], int));
    
    void xclient_init(char *server,char *username,char *password,char *path);
    void xclient_fin();
    
    void xclient_message_send(char *to,char *content);
    void xclient_xclient_send_ping(char *to, char *uid);
    int xclient_ftp_send(char *path,char *name,char *to);
    int xclient_ftp_send2(char *path,char *name,char *to);
    int xclient_alarm_send(char *path,char *name,char *to);
    void xclient_group_sync_send(char *room,char *jids,char *display);
    void xclient_vcard_get(char *to);
    int xclient_vcard_set_withpath(char *toyname,char *nickname,char *path);
    int xclient_iq_get_roster_send();

#ifdef __cplusplus
}
#endif

#endif

